
/**
 * 菜单模拟数据
 */
export const menuData = [
  {
    "PurviewId": 110,
    "PageUrl": "/home",
    "HasChild": 1,
    "PurviewName": "首页",
    "componentName": "Home",
    "icon": "el-icon-menu"
  },
  {
    "PurviewId": 120,
    "PageUrl": "/template",
    "HasChild": 1,
    "PurviewName": "表格模板",
    "componentName": "Template",
    "icon": "el-icon-s-order"
  },
  {
    "PurviewId": 280,
    "PageUrl": "",
    "HasChild": 1,
    "PurviewName": "通用功能",
    "componentName": "",
    "icon": "",
    "Childs": [
      {
        "PurviewId": 376,
        "PageUrl": "/admin/imageView/list",
        "HasChild": 0,
        "PurviewName": "图片功能",
        "componentName": "",
        "icon": ""
      },
      {
        "PurviewId": 272,
        "PageUrl": "/admin/richText/list",
        "HasChild": 0,
        "PurviewName": "富文本编辑",
        "componentName": "",
        "icon": ""
      },
    ]
  },
  {
    "PurviewId": 130,
    "PageUrl": "/admin/i18n/list",
    "HasChild": 1,
    "PurviewName": "国际化使用",
    "componentName": "i18n",
    "icon": "el-icon-star-on"
  },
  {
    "PurviewId": 1,
    "PageUrl": "",
    "HasChild": 1,
    "PurviewName": "系统管理",
    "componentName": "home",
    "icon": "el-icon-setting",
    "Childs": [
      {
        "PurviewId": 2,
        "PageUrl": "/admin/sysuser/list",
        "HasChild": 0,
        "PurviewName": "管理员",
        "componentName": "sysUser",
        "icon": "el-icon-user-solid"
      },
      {
        "PurviewId": 3,
        "PageUrl": "/admin/purviewgroup/list",
        "HasChild": 0,
        "PurviewName": "权限组",
        "componentName": "purviewGroup",
        "icon": ""
      },
      {
        "PurviewId": 4,
        "PageUrl": "/admin/purview/list",
        "HasChild": 1,
        "PurviewName": "权限",
        "componentName": "purview",
        "icon": "",
        "Childs": [
          {
            "PurviewId": 20,
            "PageUrl": "",
            "HasChild": 0,
            "PurviewName": "新增",
            "componentName": "",
            "icon": ""
          }
        ]
      }
    ]
  },
]

/**
 * 权限模拟数据
 */
export const purviewList = [
  {
    "id": 120,
    "PurviewId": 120,
    "PageUrl": "/template",
    "HasChild": 1,
    "PurviewName": "表格模板",
    "label": "表格模板",
    "componentName": "Template",
    "icon": "el-icon-s-order"
  },
  {
    "id": 280,
    "label": "通用功能",
    "PurviewId": 280,
    "PurviewName": "通用功能",
    "FatherId": 0,
    "PageUrl": "",
    "PurviewUrls": "",
    "componentName": "",
    "icon": "",
    "children": [
      {
        "id": 376,
        "PurviewId": 376,
        "PageUrl": "/admin/imageView/list",
        "HasChild": 0,
        "PurviewName": "图片功能",
        "label": "图片功能",
        "componentName": "",
        "icon": ""
      },
      {
        "id": 272,
        "PurviewId": 272,
        "PageUrl": "/admin/richText/list",
        "HasChild": 0,
        "PurviewName": "富文本编辑",
        "label": "富文本编辑",
        "componentName": "",
        "icon": ""
      },
    ]
  },
  {
    "id": 130,
    "PurviewId": 130,
    "PageUrl": "/admin/i18n/list",
    "HasChild": 1,
    "PurviewName": "国际化使用",
    "label": "国际化使用",
    "componentName": "i18n",
    "icon": "el-icon-star-on"
  },
  {
    "id": 1,
    "label": "系统管理",
    "PurviewId": 1,
    "PurviewName": "系统管理",
    "FatherId": 0,
    "PageUrl": "",
    "PurviewUrls": "",
    "componentName": "home",
    "icon": "el-icon-setting",
    "children": [
      {
        "id": 2,
        "label": "管理员",
        "PurviewId": 2,
        "PurviewName": "管理员",
        "FatherId": 1,
        "PageUrl": "/admin/sysuser/list",
        "PurviewUrls": "/admin/sysuser/list,/service/sysuser/list,/service/command/purviewgroup/list",
        "componentName": "sysUser",
        "icon": "el-icon-user-solid",
        "children": [
          {
            "id": 5,
            "label": "新增",
            "PurviewId": 5,
            "PurviewName": "新增",
            "FatherId": 2,
            "PageUrl": "",
            "PurviewUrls": "/admin/sysuser/add,/service/sysuser/add",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 6,
            "label": "编辑",
            "PurviewId": 6,
            "PurviewName": "编辑",
            "FatherId": 2,
            "PageUrl": "",
            "PurviewUrls": "/admin/sysuser/edit,/service/sysuser/edit,/service/sysuser/info",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 7,
            "label": "详情",
            "PurviewId": 7,
            "PurviewName": "详情",
            "FatherId": 2,
            "PageUrl": "",
            "PurviewUrls": "/admin/sysuser/info,/service/sysuser/info",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 8,
            "label": "启用/禁用",
            "PurviewId": 8,
            "PurviewName": "启用/禁用",
            "FatherId": 2,
            "PageUrl": "",
            "PurviewUrls": "/service/sysuser/status",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 9,
            "label": "导出",
            "PurviewId": 9,
            "PurviewName": "导出",
            "FatherId": 2,
            "PageUrl": "",
            "PurviewUrls": "/service/sysuser/export",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 10,
            "label": "删除",
            "PurviewId": 10,
            "PurviewName": "删除",
            "FatherId": 2,
            "PageUrl": "",
            "PurviewUrls": "/service/sysuser/delete",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 11,
            "label": "批量删除",
            "PurviewId": 11,
            "PurviewName": "批量删除",
            "FatherId": 2,
            "PageUrl": "",
            "PurviewUrls": "/service/sysuser/deletelist",
            "componentName": "",
            "icon": ""
          }
        ]
      },
      {
        "id": 3,
        "label": "权限组",
        "PurviewId": 3,
        "PurviewName": "权限组",
        "FatherId": 1,
        "PageUrl": "/admin/purviewgroup/list",
        "PurviewUrls": "/admin/purviewgroup/list,/service/purviewgroup/list",
        "componentName": "purviewGroup",
        "icon": "",
        "children": [
          {
            "id": 12,
            "label": "新增",
            "PurviewId": 12,
            "PurviewName": "新增",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/admin/purviewgroup/add,/service/purviewgroup/add",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 13,
            "label": "编辑",
            "PurviewId": 13,
            "PurviewName": "编辑",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/admin/purviewgroup/edit,/service/purviewgroup/edit",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 14,
            "label": "详情",
            "PurviewId": 14,
            "PurviewName": "详情",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/admin/purviewgroup/info,/service/purviewgroup/info",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 15,
            "label": "启用/禁用",
            "PurviewId": 15,
            "PurviewName": "启用/禁用",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/service/purviewgroup/status",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 16,
            "label": "导出",
            "PurviewId": 16,
            "PurviewName": "导出",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/service/purviewgroup/exportcsv",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 17,
            "label": "删除",
            "PurviewId": 17,
            "PurviewName": "删除",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/service/purviewgroup/delete",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 18,
            "label": "批量删除",
            "PurviewId": 18,
            "PurviewName": "批量删除",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/service/purviewgroup/deletelist",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 19,
            "label": "分配权限",
            "PurviewId": 19,
            "PurviewName": "分配权限",
            "FatherId": 3,
            "PageUrl": "",
            "PurviewUrls": "/admin/purviewgroup/purview,/service/purviewgroup/purview,/service/purviewgroup/savepurview,/service/command/purview/list",
            "componentName": "",
            "icon": ""
          }
        ]
      },
      {
        "id": 4,
        "label": "权限",
        "PurviewId": 4,
        "PurviewName": "权限",
        "FatherId": 1,
        "PageUrl": "/admin/purview/list",
        "PurviewUrls": "/admin/purview/list,/service/purview/list",
        "componentName": "purview",
        "icon": "",
        "children": [
          {
            "id": 20,
            "label": "新增",
            "PurviewId": 20,
            "PurviewName": "新增",
            "FatherId": 4,
            "PageUrl": "",
            "PurviewUrls": "/service/purview/add",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 21,
            "label": "编辑",
            "PurviewId": 21,
            "PurviewName": "编辑",
            "FatherId": 4,
            "PageUrl": "",
            "PurviewUrls": "/service/purview/edit",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 23,
            "label": "删除",
            "PurviewId": 23,
            "PurviewName": "删除",
            "FatherId": 4,
            "PageUrl": "",
            "PurviewUrls": "/service/purview/delete",
            "componentName": "",
            "icon": ""
          },
          {
            "id": 320,
            "label": "修改排序",
            "PurviewId": 320,
            "PurviewName": "修改排序",
            "FatherId": 4,
            "PageUrl": "",
            "PurviewUrls": "/service/purview/sort",
            "componentName": "",
            "icon": ""
          }
        ]
      }
    ]
  },
]

/**
 * 权限组模拟数据
 */
export const purviewGroup = [
  {
    "PurviewGroupId": 8,
    "GroupName": "测试",
    "Status": 1,
    "IsDel": 0,
    "IsSys": 0,
    "AddCallName": "超级管理员",
    "UpdateCallName": "超级管理员",
    "AddDateTime": "2020-08-07T05:14:24.000Z",
    "UpdateDateTime": "2020-09-28T07:41:16.000Z"
  },
  {
    "PurviewGroupId": 7,
    "GroupName": "产品",
    "Status": 1,
    "IsDel": 0,
    "IsSys": 0,
    "AddCallName": "超级管理员",
    "UpdateCallName": "超级管理员",
    "AddDateTime": "2016-08-15T14:40:37.000Z",
    "UpdateDateTime": "2020-08-27T04:43:10.000Z"
  },
  {
    "PurviewGroupId": 2,
    "GroupName": "开发",
    "Status": 1,
    "IsDel": 0,
    "IsSys": 0,
    "AddCallName": "系统管理员",
    "UpdateCallName": "系统管理员",
    "AddDateTime": "2015-07-06T16:23:05.000Z",
    "UpdateDateTime": "2020-09-28T07:52:54.000Z"
  },
  {
    "PurviewGroupId": 1,
    "GroupName": "系统管理",
    "Status": 1,
    "IsDel": 0,
    "IsSys": 0,
    "AddCallName": "系统",
    "UpdateCallName": "系统",
    "AddDateTime": "2015-06-25T13:34:55.000Z",
    "UpdateDateTime": "2023-04-07T08:52:14.000Z"
  }
]

/**
 * 管理员模拟数据
 */
export const sysUser = [{
  "SysUserId": 15,
  "AccountName": "admin",
  "CallName": "admin",
  "Email": "972990430@qq.com",
  "Telephone": "",
  "PurviewGroupId": 1,
  "Status": 1,
  "IsDel": 0,
  "IsSys": 0,
  "IsChangeCall": 0,
  "AddCallName": "超级管理员",
  "UpdateCallName": "admin",
  "AddDateTime": "2020-08-25T15:12:06.000Z",
  "UpdateDateTime": "2023-08-11T06:38:21.000Z",
  "LastLoginTime": null,
  "LastLoginIP": "",
  "PurviewGroupIds": "[1, 2, 7, 8, 9, 11, 13, 14]"
}]


export const spendData = [
  {
    "date": "2024-05-29",
    "amount": 9280
  },
  {
    "date": "2024-05-30",
    "amount": 10450.5
  },
  {
    "date": "2024-05-31",
    "amount": 43450
  },
  {
    "date": "2024-06-01",
    "amount": 0
  },
  {
    "date": "2024-06-02",
    "amount": 9220
  },
  {
    "date": "2024-06-03",
    "amount": 8807
  },
  {
    "date": "2024-06-04",
    "amount": 190
  }
]

export const consumeData = [
  {
    "date": "2024-05-29",
    "amount": 9180
  },
  {
    "date": "2024-05-30",
    "amount": 9800
  },
  {
    "date": "2024-05-31",
    "amount": 34450
  },
  {
    "date": "2024-06-01",
    "amount": 0
  },
  {
    "date": "2024-06-02",
    "amount": 0
  },
  {
    "date": "2024-06-03",
    "amount": 807
  },
  {
    "date": "2024-06-04",
    "amount": 190
  }
]
